package cn.itcast.hotel.pojo;

import lombok.Data;

import java.util.List;

@Data
public class PageResult {
  //总条数
  private  Long total;
  //文档内容
  private List<HotelDoc> hotels;

  public PageResult() {
  }

  public PageResult(Long total, List<HotelDoc> hotels) {
    this.total = total;
    this.hotels = hotels;
  }
}
